package com.yy.wga.order.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.wga.common.core.dto.PageBean;
import com.yy.wga.order.feign.request.OrderUpgradePageRequest;
import com.yy.wga.order.feign.response.OrderDeliveryAddressSaveRequest;
import com.yy.wga.order.feign.response.OrderUpgradePageResponse;
import com.yy.wga.order.service.pojo.OrderUpGradeDO;

import javax.validation.Valid;

/**
 * 升级礼包商品订单信息(OrderUpGrade)表服务接口
 *
 * @author guochao
 * @since 2024-12-21 14:56:57
 */
public interface OrderUpGradeService extends IService<OrderUpGradeDO> {
    /**
     * 修改订单
     * @param update
     */
    void updateInfo(OrderUpGradeDO update);

    /**
     * 分页
     * @param request
     * @return
     */
    PageBean<OrderUpgradePageResponse> pageData(@Valid OrderUpgradePageRequest request);

    /**
     * 发货
     * @param request
     */
    void delivery(@Valid OrderDeliveryAddressSaveRequest request);
}
